home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 11
/
CU Amiga Magazine's Super CD-ROM 11 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-06].iso
/
s
/
commandline.pprx
< prev
next >
Wrap
Text File
|
1992-03-14
|
821b
|
45 lines
/*
@BCommandLine @P@ICopyright Gold Disk Inc., February, 1992
This Genie allows you to issue AREXX commands to PPage directly. Recommended for advanced users only.
*/
signal on error
signal on syntax
call ppm_AutoUpdate(0)
defvalue = getclip(ppm_defval)
command = ppm_GetForm("Enter Command",40, "Command:"defvalue)
if command = '' then exit_msg()
/*if upper(left(command, 4)) ~= "PPM_" then command = "ppm_"command*/
if right(command, 1) ~= ')' then command = command"()"
call setclip(ppm_defval, command)
interpret "returnval = "command
call exit_msg(command" = "returnval)
error:
syntax:
do
if rc = 16 then exit_msg()
exit_msg(command ": "errortext(rc))
end
exit_msg:
do
parse arg message
if message ~= '' then call ppm_Inform(1, message,)
call ppm_AutoUpdate(1)
exit
end